net/http.http2ClientConn.streamsReserved (field)
8 uses
net/http (current package)
h2_bundle.go#L7403: streamsReserved int // incr by ReserveNewRequest; decr on RoundTrip
h2_bundle.go#L7975: cc.streamsReserved++
h2_bundle.go#L8027: StreamsReserved: cc.streamsReserved,
h2_bundle.go#L8058: maxConcurrentOkay = int64(len(cc.streams)+cc.streamsReserved+1) <= int64(cc.maxConcurrentStreams)
h2_bundle.go#L8113: if len(cc.streams) > 0 || cc.streamsReserved > 0 {
h2_bundle.go#L8297: if cc.streamsReserved > 0 {
h2_bundle.go#L8298: cc.streamsReserved--
h2_bundle.go#L9213: if closeOnIdle && cc.streamsReserved == 0 && len(cc.streams) == 0 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |